package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBJ_T")
public class GwbjT extends PO<GwbjT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBJENT", type = IdType.INPUT)
    private String GWBJENT;

    private String GWBJNAME;

    private String GWBJID;

    private BigDecimal GWBJSEQ;

    private String GWBJ001;

    private String GWBJ002;

    private String GWBJ003;

    private String GWBJ004;

    private String GWBJ005;

    private String GWBJ006;

    private String GWBJ007;

    private String GWBJ008;

    private String GWBJ009;

    private String GWBJPLANT;

    private String GWBJLEGAL;

    private String GWBJACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWBJUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWBJGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWBJMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWBJTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBJDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWBJORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWBJORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWBJENT;
    }

}
